package com.wolfheader.wolfgame.bean.admin;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;

import org.hibernate.validator.constraints.Length;
import org.hibernate.validator.constraints.NotBlank;

public class ProductBean {

	private  String name;

	private String remark;

	private Integer xiangUnit;

	private Integer heUnit;

	@NotBlank
	@Length(min = 4, max = 20)
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	@Length(max = 200)
	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	@Min(0)
	@Max(1000)
	public Integer getXiangUnit() {
		return xiangUnit;
	}

	public void setXiangUnit(Integer xiangUnit) {
		this.xiangUnit = xiangUnit;
	}

	@Min(0)
	@Max(1000)
	public Integer getHeUnit() {
		return heUnit;
	}

	public void setHeUnit(Integer heUnit) {
		this.heUnit = heUnit;
	}
	
	
	
}
